package com.tang.design.single;

/**
 * @author tmh
 * @date 2024/6/4 21:00
 * @description
 */
public class SingleApplication {
    public static void main(String[] args) {
        SingleObject instance = SingleObject.getInstance();
        //因为构造方式是私有的，所以这里new的时候会报错
//        SingleObject singleObject=new SingleObject();
        instance.showMessage();
    }
}
